namespace ext.form
{
	using System;
	using System.Runtime.CompilerServices;
	using System.Html;
	using System.Collections;
	
	
	/// <summary>
	/// Provides Ext.direct support for submitting form data.  This example illustrates usage of Ext.Direct to submit a form through Ext.Direct.  
	/// var myFormPanel = new Ext.form.FormPanel({
	/// // configs for FormPanel
	/// title: &apos;Basic Information&apos;,
	/// renderTo: document.body,
	/// width: 300, height: 160,
	/// padding: 10,
	/// buttons:[{
	/// text: &apos;Submit&apos;,
	/// handler: function(){
	/// myFormPanel.getForm().submit({
	/// params: {
	/// foo: &apos;bar&apos;,
	/// uid: 34
	/// }
	/// });
	/// }
	/// }],
	///
	/// // configs apply to child items
	/// defaults: {anchor: &apos;100%&apos;},
	/// defaultType: &apos;textfield&apos;,
	/// items: [{
	/// fieldLabel: &apos;Name&apos;,
	/// name: &apos;name&apos;
	/// },{
	/// fieldLabel: &apos;Email&apos;,
	/// name: &apos;email&apos;
	/// },{
	/// fieldLabel: &apos;Company&apos;,
	/// name: &apos;company&apos;
	/// }],
	///
	/// // configs for BasicForm
	/// api: {
	/// // The server-side method to call for load() requests
	/// load: Profile.getBasicInfo,
	/// // The server-side must mark the submit handler as a &apos;formHandler&apos;
	/// submit: Profile.updateBasicInfo
	/// },
	/// // specify the order for the passed params
	/// paramOrder: [&apos;uid&apos;, &apos;foo&apos;]
	/// });
	/// 
	/// The data packet sent to...
	/// </summary>
	/// <htmlSummary>
	/// &lt;p&gt;Provides Ext.direct support for submitting form data.&lt;/p&gt;
	/// &lt;p&gt;This example illustrates usage of Ext.Direct to &lt;b&gt;submit&lt;/b&gt; a form through Ext.Direct.&lt;/p&gt;
	/// &lt;pre&gt;&lt;code&gt;
	/// var myFormPanel = new Ext.form.FormPanel({
	/// // configs for FormPanel
	/// title: &apos;Basic Information&apos;,
	/// renderTo: document.body,
	/// width: 300, height: 160,
	/// padding: 10,
	/// buttons:[{
	/// text: &apos;Submit&apos;,
	/// handler: function(){
	/// myFormPanel.getForm().submit({
	/// params: {
	/// foo: &apos;bar&apos;,
	/// uid: 34
	/// }
	/// });
	/// }
	/// }],
	///
	/// // configs apply to child items
	/// defaults: {anchor: &apos;100%&apos;},
	/// defaultType: &apos;textfield&apos;,
	/// items: [{
	/// fieldLabel: &apos;Name&apos;,
	/// name: &apos;name&apos;
	/// },{
	/// fieldLabel: &apos;Email&apos;,
	/// name: &apos;email&apos;
	/// },{
	/// fieldLabel: &apos;Company&apos;,
	/// name: &apos;company&apos;
	/// }],
	///
	/// // configs for BasicForm
	/// api: {
	/// // The server-side method to call for load() requests
	/// load: Profile.getBasicInfo,
	/// // The server-side must mark the submit handler as a &apos;formHandler&apos;
	/// submit: Profile.updateBasicInfo
	/// },
	/// // specify the order for the passed params
	/// paramOrder: [&apos;uid&apos;, &apos;foo&apos;]
	/// });
	/// &lt;/code&gt;&lt;/pre&gt;
	/// The data packet sent to the server will resemble something like:
	/// &lt;pre&gt;&lt;code&gt;
	/// {
	/// &quot;action&quot;:&quot;Profile&quot;,&quot;method&quot;:&quot;updateBasicInfo&quot;,&quot;type&quot;:&quot;rpc&quot;,&quot;tid&quot;:&quot;6&quot;,
	/// &quot;result&quot;:{
	/// &quot;success&quot;:true,
	/// &quot;id&quot;:{
	/// &quot;extAction&quot;:&quot;Profile&quot;,&quot;extMethod&quot;:&quot;updateBasicInfo&quot;,
	/// &quot;extType&quot;:&quot;rpc&quot;,&quot;extTID&quot;:&quot;6&quot;,&quot;extUpload&quot;:&quot;false&quot;,
	/// &quot;name&quot;:&quot;Aaron Conran&quot;,&quot;email&quot;:&quot;aaron@extjs.com&quot;,&quot;company&quot;:&quot;Ext JS, LLC&quot;
	/// }
	/// }
	/// }
	/// &lt;/code&gt;&lt;/pre&gt;
	/// The form will process a data packet returned by the server that is similar
	/// to the following:
	/// &lt;pre&gt;&lt;code&gt;
	/// // sample success packet (batched requests)
	/// [
	/// {
	/// &quot;action&quot;:&quot;Profile&quot;,&quot;method&quot;:&quot;updateBasicInfo&quot;,&quot;type&quot;:&quot;rpc&quot;,&quot;tid&quot;:3,
	/// &quot;result&quot;:{
	/// &quot;success&quot;:true
	/// }
	/// }
	/// ]
	///
	/// // sample failure packet (one request)
	/// {
	/// &quot;action&quot;:&quot;Profile&quot;,&quot;method&quot;:&quot;updateBasicInfo&quot;,&quot;type&quot;:&quot;rpc&quot;,&quot;tid&quot;:&quot;6&quot;,
	/// &quot;result&quot;:{
	/// &quot;errors&quot;:{
	/// &quot;email&quot;:&quot;already taken&quot;
	/// },
	/// &quot;success&quot;:false,
	/// &quot;foo&quot;:&quot;bar&quot;
	/// }
	/// }
	/// &lt;/code&gt;&lt;/pre&gt;
	/// Also see the discussion in {@link Ext.form.Action.DirectLoad}.
	/// </htmlSummary>
	/// <definedin>src\widgets\form\Action.js</definedin>
	/// <definedin>src\widgets\form\Action.js</definedin>
	[ScriptName("Action.DirectSubmit")]
	[ScriptNamespace("Ext.form")]
	[Imported()]
	public partial class Action_DirectSubmit : ext.form.Action_Submit
	{
	}
}
